package com.nightpiter.view.graphics.factories;

import com.nightpiter.view.graphics.Rect;
import com.nightpiter.view.graphics.RectF;
import com.nightpiter.view.graphics.abstaractions.AbstractRectF;

public abstract class RectFFactory {

	private static RectFFactory factory;

	public static RectFFactory getFactory() {
		return factory;
	}

	public static void setFactory(RectFFactory factory) {
		RectFFactory.factory = factory;
	}

	public abstract AbstractRectF create();

	public abstract AbstractRectF create(float left, float top, float right,
			float bottom);

	public abstract AbstractRectF create(Rect rect);

	public abstract AbstractRectF create(RectF rectF);

}
